﻿using RuoVea.ExSugar.Entity;
using SqlSugar;

namespace DailyReport.Server.Models;

/// <summary>
/// 
/// </summary>
[SugarTable(nameof(ReportDetail),"内容记录表")]
public class ReportDetail:EntityBase
{
    /// <summary>
    /// 日期
    /// </summary>
    [SugarColumn(IsNullable=false)]
    public DateTime Day { get; set; }
    /// <summary>
    /// 
    /// </summary>
    [SugarColumn(IsNullable = false)]
    public int Month { get; set; }
    /// <summary>
    /// 内容
    /// </summary>
    [SugarColumn(IsNullable = false, ColumnDataType = StaticConfig.CodeFirst_BigString)]
    public string Content { get; set; }

    /// <summary>
    /// 周
    /// </summary>
    [SugarColumn(IsNullable = true)]
    public int? Week { get; set; }
    /// <summary>
    /// 内容2
    /// </summary>
    [SugarColumn(IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
    public string PlanContent { get; set; }

    /// <summary>
    /// 
    /// </summary>
    [SugarColumn(IsNullable = true)] 
    public string Category { get; set; }
}
